//
//  GameChargeInfo.m
//  EasyToo
//
//  Created by YuanDee on 13-10-13.
//
//

#import "GameChargeInfo.h"

@implementation GameChargeInfo
- (id)initWithDictionary:(NSDictionary *)jsonDictionary
{
    self = [self init];
    if (self) {
        self.gameId = GetDictionaryStringDefaultNil(jsonDictionary, @"cardid");
        self.gameName = GetDictionaryStringDefaultNil(jsonDictionary, @"cardname");
        self.gamePrice = GetDictionaryStringDefaultNil(jsonDictionary, @"saleprice");
    }
    NSLog(@"cardId:%@\n", self.gameId);
    NSLog(@"cardname:%@\n", self.gameName);
    NSLog(@"price:%@\n", self.gamePrice);
    return self;
}

@end
